home *** CD-ROM | disk | FTP | other *** search
- ///////////////////////////////////////////////////////////////////////////
- // TabDlg Version 3.0
- // Copyright (c) 1994 Edward McCreary.
- // All rights reserved.
- //
- // Redistribution and use in source and binary forms are freely permitted
- // provided that the above copyright notice and attibution and date of work
- // and this paragraph are duplicated in all such forms.
- // THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
- // IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- // WARRANTIES OF MERCHANTIBILILTY AND FITNESS FOR A PARTICULAR PURPOSE.
- ///////////////////////////////////////////////////////////////////////////
- // File: tabdlg3.h
- // Author: Ed McCreary
- // Date: 11/7/94
- // Purpose: main header file for tabdlg3
- ///////////////////////////////////////////////////////////////////////////
- #ifndef _TABDLG3_H
- #define _TABDLG3_H
-
- // tab styles
- #define TBS_SHADOW 0x0020 // add shadow to caption text
- // tab control messages
- #define TAB_ADDTAB (WM_USER + 0) // add tab to dialog box
- // if wParam != 0, must be a template handle
- // lParam is LPCSTR | HGLOBAL
-
- #define TAB_DELETETAB (WM_USER + 1) // wParam is tab index
- #define TAB_FINDTAB (WM_USER + 2) // lParam is LPCSTR to tab caption
- // returns tab index
-
- #define TAB_GETCOUNT (WM_USER + 3) // returns number of tabs
- #define TAB_GETCURSEL (WM_USER + 4) // returns index of current tab
- #define TAB_SETCURSEL (WM_USER + 5) // sets wParam to current tab
-
- #define TAB_GETTEXTLEN (WM_USER + 6) // get length of caption for tab wParam
- #define TAB_GETTEXT (WM_USER + 7) // get text of tab wParam into buffer lParam
-
- // tab notification messages
- #define TABN_CHANGETAB (WM_USER + 8) // tab is switching
-
- // classname
- #define TAB_CLASSNAME "TabDlg"
-
- #endif /* _TABDLG3_H */